<script setup>
import { defineProps } from 'vue';

const props = defineProps({
    title: {
        default: '',
        type: String,
    }
});
</script>

<template>
    <div class="title">
        <div class="icon"></div>
        <div class="text">{{ title }}</div>
    </div>
</template>

<style scoped lang="scss">
.title {
    display: flex;
    margin-bottom: 10px;

    .icon {
        background-image: url(../assets/img/titleImg.png);
        background-size: 100% 100%;
        height: 20px;
        width: 20px;
        margin-right: 10px;
    }

    .text {
        color: rgb(81, 91, 231);
    }
}
</style>
